package com.zhouchaoqun.web.filter;


import javax.servlet.*;
import java.io.IOException;

/**
 * @author chaoqunzhou
 * @date 2019-08-05 19:57
 */
public class MyFilter implements Filter {

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("------------");
        throw new RuntimeException("hijack");
    }
}
